//
//  CZUploadParam.m
//  传智微博
//
//  Created by apple on 15-3-13.
//  Copyright (c) 2015年 apple. All rights reserved.
//

#import "MHUploadParam.h"

@implementation MHUploadParam

-(void)setFileName:(NSString *)fileName{
    NSDate *currentDate = [NSDate date];
    NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
    [formatter setDateFormat:@"yyyyMMddHHmmssSSS"];
    _fileName = [NSString stringWithFormat:@"%@_%@",[formatter stringFromDate:currentDate],fileName];
}

- (NSString *)mimeType
{
    return @"image/png";
}
@end
